// utils/config.js
module.exports = {
  URL_TRANSLATE_TEXT: "http://10.30.33.34:8081/textTranslate",
  URL_TRANSLATE_REALTIME: "ws://10.30.33.34:8081/realtimeTranslate",
  URL_TRANSLATE_PHOTO: "http://10.30.33.34:8081/photoTranslate",

  // 录音参数
  RECORD_OPTION_FORMAT: "PCM",
  RECORD_OPTION_SAMPLE_RATE: 44100,
  RECORD_OPTION_NUMBER_OF_CHANNELS: 1,
  RECORD_OPTION_ENCODE_BIT_RATE: 64000,
  RECORD_OPTION_FRAME_SIZE: 2,   // 2kb

  // 语言
  // LANGUAGE_CHINESE: 'zh',
  // LANGUAGE_ENGLISH: 'en',
  // LANGUAGE_JAPANESE: 'ja',
  // LANGUAGE_KOREAN: 'ko',
  LANGUAGE_SOURCE_LIST: ['自动', '中文', '英文', '日文', '韩文'],
  LANGUAGE_SOURCE_CODE: ['auto', 'zh',  'en',  'ja',  'ko'],
  LANGUAGE_TARGET_LIST: ['中文', '英文', '日文', '韩文'],
  LANGUAGE_TARGET_CODE: ['zh',  'en',   'ja',  'ko'],

  AUDIO_PLAY_LIST: ['开启', '关闭'],
  AUDIO_VOICE_SELECT_LIST: ['女声', '男声'],

  // sourceLanguageIndex
  // 其他配置
};